package com.szyt.basicframe.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.szyt.basicframe.common.BaseTableEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author mx
 * @since 2025-07-03
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_permission")
@ApiModel(value = "SysPermission对象", description = "")
public class SysPermission extends BaseTableEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("权限名称")
    @TableField("permission_name")
    private String permissionName;

    @ApiModelProperty("权限编码")
    @TableField("permission_code")
    private String permissionCode;

    @ApiModelProperty("权限类型")
    @TableField("permission_type")
    private Integer permissionType;

    @ApiModelProperty("权限分组ID")
    @TableField("menu_id")
    private Long menuId;

    @ApiModelProperty("权限图标")
    @TableField("icon")
    private String icon;

    @ApiModelProperty("图标颜色")
    @TableField("color")
    private String color;

    @ApiModelProperty("排序")
    @TableField("sort")
    private Integer sort;

    @ApiModelProperty("权限备注")
    @TableField("remarks")
    private String remarks;


}
